<template>
  <div>
    <!-- 面包屑导航 -->
    <div>
      <el-breadcrumb separator="/">
        <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item><a href="/">商品管理</a></el-breadcrumb-item>
        <el-breadcrumb-item>商品列表</el-breadcrumb-item>
      </el-breadcrumb>
    </div>
    <el-input placeholder="请输入内容" v-model="input5" class="input-with-select" style="width: 300px;">
      <el-button slot="append" icon="el-icon-search"></el-button>
    </el-input>
    <el-button type="primary" plain @click="addgoods">添加商品</el-button>
  </div>
</template>

<script>
export default {
  methods: {
    addgoods () {
      this.$router.push({name: 'addgoods'})
    }
  }
}
</script>

<style>

</style>
